package taks1;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 东莞呵呵
 * Date:2022-05-07
 * Time:11:37
 */
public class TestDemo {
    public static void main(String[] args) {
        Circle circle = new Circle(5);
        Retangle retangle = new Retangle(3, 5);
        System.out.println("圆的面积："+circle.getArea());
        System.out.println("圆的周长："+circle.getPer());
        System.out.println("矩形的面积："+retangle.getArea());
        System.out.println("矩形的周长："+retangle.getPer());
    }
}
